package com.hliushi.movie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hliushi.movie.entity.MoviePicClip;
import com.hliushi.movie.mapper.MoviePicClipMapper;
import com.hliushi.movie.service.MoviePicClipService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class MoviePicClipServiceImpl extends ServiceImpl<MoviePicClipMapper, MoviePicClip> implements MoviePicClipService {

    @Override
    public boolean insertTuiInfo(MoviePicClip moviePicClip) {
        log.info("insert a moviePicClip record: {}", moviePicClip);
        return super.save(moviePicClip);
    }

    @Override
    public boolean updateTuiInfo(MoviePicClip moviePicClip) {
        log.info("update a moviePicClip record: {}", moviePicClip);
        return super.updateById(moviePicClip);
    }
}
